
<?php get_header(); ?>

<div id="post-main">
<div class="container12">

	<div class="row noMargin">

		<div id="sub_banner">
			<h1><?php the_title(); ?></h1>
		</div>
		
		<!-- Start Content -->
		<div id="content">
			<div class="top-content">

			<?php if(have_posts()): while(have_posts()): the_post(); ?>
			
					<div <?php post_class(); ?> id="post-<?php the_ID(); ?>"> 
	
						<div class="post_content">
		
							<a class="postimg"><?php the_post_thumbnail('medium'); ?></a>
		
							<div class="metadate"><?php edit_post_link(); ?></div> 
						</div>
							
						<div class="post_info_wrap"><?php the_content(); ?> </div>
		
						<div class="post_wrap_n"></div>
						
					</div> 

				<?php endwhile ?> 

				<div class="comments_template"><?php comments_template('',true); ?></div>
			<?php endif ?>
			</div>
			<!--POST END--> 

			<?php if(of_get_option('nosidebar_checkbox') == "0"){ 
				get_sidebar();
			} ?>
		</div>
		<!-- End Content -->
		
		
	</div>
</div>
</div>

<?php get_footer(); ?>